package com.sun.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.sun.mapper.TbBrandMapper;
import com.sun.model.TbBrand;
import com.sun.service.TbBrandService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @author sun
 * @create 2020-10-09 21:48
 */
@Service
public class TbBrandServiceImpl implements TbBrandService {

    @Autowired
    TbBrandMapper tbBrandMapper;

    @Override
    public List<TbBrand> findAllTbBrand() {
        return tbBrandMapper.findAllTbBrand();
    }
}
